package com.example.miniappssm.service;

import com.example.miniappssm.bean.Cart;
import com.example.miniappssm.bean.Goods;

import java.util.List;

public interface CartService {

    List<Goods> showAllGoodsFromUserIdInCart(Integer userId);

    void addGoodsInCart(Cart cart);

    void removeGoodsFromCartByCartId(Integer cartId);
}
